package com.snail.dao;

import com.snail.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author 【swg】.
 * @Date 2017/12/8 9:56
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public interface ProductInfoDao extends JpaRepository<ProductInfo,String> {
    List<ProductInfo> findByProductStatus(Integer productStatus);
}
